package com.yuchen.ishop.buyer;

import com.yuchen.ishop.entity.Comment;
import com.yuchen.jaxrs.Responses;

import java.util.List;
import java.util.Map;


/**
 * 普通用户  买家
 */
public interface BuyerCommentService {


    public Comment getById(Long id);

    public Responses insert(Comment comment);

    public Responses update(Comment comment);

    public Responses delete(Long id);

    public List<Map> getByBuyerId(Long buyerId, String range);
}
